define(function (require) {
var zsApp= require('app');
zsApp.controller('homeController', ['$scope', '$http', '$timeout', 'selectCache','$interval', function($scope, $http, $timeout, selectCache,$interval) {

$scope.paginationConf = {
        currentPage     : 1,
        totalItems      : 100,
        itemsPerPage    : 10,
        pagesLength     : 15,
        perPageOptions  : [10, 20, 30, 40, 50],
}        

$scope.homedate = [
	{
		homeDate:'2015/09/29',
		homeSum:'1000',
		homePage:'256',
		homeBrowse:'1000,0000',
		homeRead:'1000,0000',
	},
	{
		homeDate:'2015/09/29',
		homeSum:'9000',
		homePage:'356',
		homeBrowse:'2000,0000',
		homeRead:'2000,0000',
	},	
	{
		homeDate:'2015/09/29',
		homeSum:'1000',
		homePage:'256',
		homeBrowse:'1000,0000',
		homeRead:'1000,0000',
	},
	{
		homeDate:'2015/09/29',
		homeSum:'9000',
		homePage:'356',
		homeBrowse:'2000,0000',
		homeRead:'2000,0000',
	},	
	{
		homeDate:'2015/09/29',
		homeSum:'1000',
		homePage:'256',
		homeBrowse:'1000,0000',
		homeRead:'1000,0000',
	},
	{
		homeDate:'2015/09/29',
		homeSum:'9000',
		homePage:'356',
		homeBrowse:'2000,0000',
		homeRead:'2000,0000',
	},	
]
	

$scope.homedate2 = [
	{
		homeName:'中少阅读平台',
		homeSum:'1000',
		homePage:'256',
		homeBrowse:'1000,0000',
		homeRead:'1000,0000',
		homeUrl:'https://member.61read.com'
	},
	{
		homeName:'中少阅读平台',
		homeSum:'1000',
		homePage:'256',
		homeBrowse:'1000,0000',
		homeRead:'1000,0000',
		homeUrl:'https://member.61read.com'
	},
	{
		homeName:'中少阅读平台',
		homeSum:'1000',
		homePage:'256',
		homeBrowse:'1000,0000',
		homeRead:'1000,0000',
		homeUrl:'https://member.61read.com'
	},
	{
		homeName:'中少阅读平台',
		homeSum:'1000',
		homePage:'256',
		homeBrowse:'1000,0000',
		homeRead:'1000,0000',
		homeUrl:'https://member.61read.com'
	},
	{
		homeName:'中少阅读平台',
		homeSum:'1000',
		homePage:'256',
		homeBrowse:'1000,0000',
		homeRead:'1000,0000',
		homeUrl:'https://member.61read.com'
	},
	{
		homeName:'中少阅读平台fa',
		homeSum:'1000',
		homePage:'256',
		homeBrowse:'1000,0000',
		homeRead:'1000,0000',
		homeUrl:'https://member.61read.com'
	},
	{
		homeName:'中少阅读平台fa',
		homeSum:'1000',
		homePage:'256',
		homeBrowse:'1000,0000',
		homeRead:'1000,0000',
		homeUrl:'https://member.61read.com'
	},
	{
		homeName:'中少阅读平台fa',
		homeSum:'1000',
		homePage:'256',
		homeBrowse:'1000,0000',
		homeRead:'1000,0000',
		homeUrl:'https://member.61read.com'
	},
]	



}])    
});